﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CrazyWorship1
{
    /// <summary>
    /// Interaction logic for AssetManagerControl.xaml
    /// </summary>
    public partial class AssetManagerControl : UserControl
    {
        public AssetManagerControl()
        {
            InitializeComponent();
        }
        public void SetAssetManager(AssetManager cm)
        {

            this.DataContext = this;

            _assetManager = cm;

        }
        AssetManager _assetManager;
        public AssetManager AssetManager
        {
            get
            {
                return _assetManager;
            }
        }
    }
}
